<template>
  <div>
    <h1>{{ title }}</h1>
    <button @click="sayHello">hi</button>
  </div>
</template>

<script>
import {mixin1} from '../mixin';

export default {
  name: 'MySchool',
  data() {
    return {
      title: '信息'
    }
  },
  mixins: [mixin1] // 局部混入
}
</script>